package com.winiex.qqweibospider;


public class QQWeiboSpider {

	public static void main(String[] args) {

		try {
			process();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	private static void process() {
		WeiboAccesser wa = new WeiboAccesser();
		String weibo = wa.getWeiboJSON();
		
		MongoDbManager mdm = new MongoDbManager();
		mdm.storeWeibo(weibo);
	}
}
